package rock.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

@AllArgsConstructor
@Getter
@ToString
public enum RpcResponseCodeEnum {

    SUCCESS(200, "Remote call success"),
    FAIL(500, "Remote call fail"),

    ;

    /**
     * 响应结果码
     */
    private final int code;
    /**
     * 响应结果信息
     */
    private final String message;

}
